﻿using CatLib;
using GameFramework.UI.FairyGUI;

namespace GameLogic.UI
{
    /// <summary>
    /// 游戏UI分组
    /// </summary>
    public enum GameUIGroup
    {
        Normal,
        Fixed,
    }

    /// <summary>
    /// 主界面分组设置
    /// </summary>
    public sealed class GameMainFormGroupSetting : Facade<GameMainFormGroupSetting>, IFairyGUIFormGroupSetting
    {
        public string GroupName => nameof(GameUIGroup.Normal);
        public bool PauseCoveredUIForm => true;
    }

    /// <summary>
    /// 弹窗分组设置
    /// </summary>
    public sealed class GamePopupFormGroupSetting : Facade<GamePopupFormGroupSetting>, IFairyGUIFormGroupSetting
    {
        public string GroupName => nameof(GameUIGroup.Normal);
        public bool PauseCoveredUIForm => false;
    }

    /// <summary>
    /// 固定界面分组设置
    /// </summary>
    public sealed class GameFixedFormGroupSetting : Facade<GameFixedFormGroupSetting>, IFairyGUIFormGroupSetting
    {
        public string GroupName => nameof(GameUIGroup.Fixed);
        public bool PauseCoveredUIForm => false;
    }
}